home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1455 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  2.6 KB  |  66 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 40 && _root.range == true)
  5.       {
  6.          _root.next_dis1 = 2;
  7.          _root.next_txt1 = "Hey, that\'s a great idea.  I\'ll have a girlfriend in no time...  in JAIL!  ARE YOU NUTS?";
  8.       }
  9.       else if(_root.micon._currentframe == 41 && _root.range == true)
  10.       {
  11.          _root.next_dis1 = 2;
  12.          _root.next_txt1 = "I don\'t think I want to make Sean cry.";
  13.       }
  14.       if(_root.micon._currentframe == 1 && _root.range == true)
  15.       {
  16.          _root.next_dis1 = 2;
  17.          _root.next_txt1 = "That\'s a good way to lose a hand...  or arm...  make that a whole body.";
  18.       }
  19.       if(_root.micon._currentframe == 2)
  20.       {
  21.          _root.next_dis1 = 2;
  22.          _root.next_txt1 = "Oddly enough, Big Sean didn\'t get his name from his size.";
  23.       }
  24.       if(_root.micon._currentframe == 4 && _root.range == true && _root.txt_number <= 1)
  25.       {
  26.          if(_root.talk7 == 0)
  27.          {
  28.             if(_root.talk6 == 0)
  29.             {
  30.                _root.talk6 = 1;
  31.                _root.txt_number = 3;
  32.                _root.next_dis3 = 2;
  33.                _root.di3 = 210;
  34.                _root.next_txt3 = "Hey Sean, you wouldn\'t happen to know any single girls that would be interested in going to the dance with me tonight?";
  35.                _root.next_txt2 = "All I know is that I\'m hungry, and I could go for some more food right now, but the lunch lady put a stop on my account.";
  36.                _root.di2 = 211;
  37.                _root.next_dis2 = 8;
  38.                _root.next_txt1 = "Sorry to hear that I\'ll be seeing ya around.";
  39.                _root.di1 = 212;
  40.                _root.next_dis1 = 2;
  41.             }
  42.             else if(_root.talk6 == 1)
  43.             {
  44.                _root.txt_number = 2;
  45.                _root.next_dis2 = 8;
  46.                _root.next_txt2 = "Key kid! Do you have any left overs?  I\'m just so hungry I\'ll eat anything right about now!";
  47.                _root.di2 = 213;
  48.                _root.next_txt1 = "Maybe it\'d be better if I came back at another time.";
  49.                _root.di1 = 214;
  50.                _root.next_dis1 = 2;
  51.             }
  52.          }
  53.          else
  54.          {
  55.             _root.txt_number = 2;
  56.             _root.next_dis2 = 8;
  57.             _root.next_txt2 = "Key kid! Thanks for sharing some of your food with me! Hahaha";
  58.             _root.di2 = 215;
  59.             _root.next_txt1 = "I\'ll get you back someday, you\'ll see!";
  60.             _root.di1 = 216;
  61.             _root.next_dis1 = 2;
  62.          }
  63.       }
  64.    }
  65. }
  66.